Skip to main content

Update Audit Log

PATCH /api/v1/audit-logs/{requestReference}

Description

Update an audit log entry.

Path Parameters

NameTypeDescription
requestReferencestringThe reference ID of the audit log entry (path)

Request Headers

NameTypeDescription
service-api-keystringThe service API key (header)
service-api-codestringThe service API code (header)

Request Body

  • Content Type: application/json
{
"requestMethod": "string",
"requestActionBy": "string",
"requestModelType": "string",
"requestProductType": "string",
"requestId": "string",
"requestReference": "string",
"previousData": {},
"currentData": {}
}

Response Code: 200 - OK

Headers

Content-TypeValue
service-api-key{{serviceApiKey}}
service-api-code{{serviceApiCode}}

Body

{
"requestMethod": "POST",
"requestActionBy": "Admin",
"requestModelType": "User",
"requestProductType": "Service",
"requestId": "req123",
"requestReference": "ref456",
"previousData": {},
"currentData": {
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com"
}
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PATCH \ 
--url /api/v1/audit-logs/{requestReference} \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!